﻿<%@ Page Title="Pymes Consulting Bolivia" MasterPageFile="~/administration/management.master" Language="C#" AutoEventWireup="true" CodeFile="listProfileClientService.aspx.cs" Inherits="administration_listProfileClientService" %>
<%@ Register Assembly="RJS.Web.WebControl.PopCalendar.Net.2008" Namespace="RJS.Web.WebControl" TagPrefix="rjs" %>

<asp:Content ID="Content1" runat="server" contentplaceholderid="body">
    <form id="form1" runat="server">
        <div id="mainTable" class="content">
            <asp:Label ID="lblMenu" runat="server"></asp:Label>
            <div class="right">
                <div class="welcome1">
                    <div class="welcome2">
                        <asp:MultiView ID="MServiceProfileClient" runat="server">
                            <asp:View ID="List" runat="server">
                                <div class="mainDiv">
                                    <fieldset class="fieldset" title="Search">
                                        <legend>Buscar</legend>
                                        <div class="mainSearch2">
                                            <asp:DropDownList ID="cbServiceList" runat="server" AutoPostBack="True" 
                                                DataSourceID="ODSService" DataTextField="NAME" DataValueField="ID" 
                                                onselectedindexchanged="cbService_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ODSService" runat="server" 
                                                SelectMethod="SeeAllTheRecords" TypeName="clsService">
                                            </asp:ObjectDataSource>
                                            <asp:DropDownList ID="cbYearList" runat="server" AutoPostBack="True" 
                                                DataSourceID="ODSYear" DataTextField="NAME" DataValueField="ID" 
                                                onselectedindexchanged="cbYear_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ODSYear" runat="server" 
                                                SelectMethod="SeeAllTheRecords" TypeName="clsYear"></asp:ObjectDataSource>
                                        </div>
                                    </fieldset>
                                    <div class="titleClient">Cliente: <asp:Label ID="lblCliente" runat="server" Text=""></asp:Label></div>
                                    <table class="titleTable">
                                        <tbody>
                                            <tr>
                                                <td>Lista de Servicios de Perfil</td>
                                                <td>
                                                    
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <asp:DataList ID="DataList1" runat="server" Width="325px">
                                        <ItemTemplate>
                                            <table class="listTable">
                                                <tbody>
                                                    <tr>
                                                        <td class="tdNumber">
                                                            <asp:Label ID="lblNumber" runat="server" Text='<%# Eval("NUMBER") %>'></asp:Label>
                                                        </td>
                                                        <td class="tdNameProfile">
                                                            <asp:Label ID="lblName" runat="server" Text='<%# Eval("NAMESERVICE") %>'></asp:Label>
                                                        </td>
                                                        <td class="tdProfile">
                                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("YEAR") %>'></asp:Label>
                                                        </td>
                                                        <td class="tdProfile">
                                                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("MONTH") %>'></asp:Label>
                                                        </td>
                                                        <td class="tdProfile">
                                                            <asp:Label ID="Label3" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DATE", "{0:dd/MMM/yyyy}") %>'></asp:Label>
                                                        </td>
                                                        <td class="tdNameProfile">
                                                            <asp:RadioButtonList ID="RadioButtonList1" Enabled="false" runat="server" RepeatDirection="Horizontal" SelectedValue='<%# Eval("COMPLETE") %>'>
                                                                <asp:ListItem Value="1">Si</asp:ListItem>
                                                                <asp:ListItem Value="0">No</asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList>
                                    <fieldset class="fieldset" title="Navigator">
                                        <table>
                                            <tbody>
                                                <tr>
                                                    <td align="left" class="total">
                                                        <asp:label id="lblTotal" Runat="server"></asp:label>
                                                    </td>
                                                    <td>
                                                        <a id="hrefFirst" class="navigator" href="#" runat="server" onserverclick="ShowFirst">&lt;&lt;</a>
                                                    </td>
                                                    <td>
                                                        <a id="hrefPrevious" class="navigator" href="#" runat="server" onserverclick="ShowPrevious">&lt;</a>
                                                    </td>
                                                    <td>
                                                        <a id="hrefNext" class="navigator" href="#" runat="server" onserverclick="ShowNext">&gt;</a>
                                                    </td>
                                                    <td>
                                                        <a id="hrefLast" class="navigator" href="#" runat="server" onserverclick="ShowLast">&gt;&gt;</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" colspan="5">
                                                        <asp:Label ID="lblShowing" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <div>
                                            <asp:label id="intCurrIndex" Runat="server" Visible="False"></asp:label>
                                            <asp:label id="intPageSize" Runat="server" Visible="False"></asp:label>
                                            <asp:label id="intRecordCount" Runat="server" Visible="False"></asp:label>
                                        </div>
                                    </fieldset>
                                </div>
                                <asp:ObjectDataSource ID="ConsultIDSqlDataSource" runat="server" 
                                    SelectMethod="ConsultID" TypeName="clsServiceProfile">
                                    <SelectParameters>
                                        <asp:QueryStringParameter DefaultValue="&quot;&quot;" Name="id" QueryStringField="id" Type="String" />
                                    </SelectParameters>
                                </asp:ObjectDataSource>
                            </asp:View>
                            <asp:View ID="Message" runat="server">
                                <div class="mainDiv">
                                    <div>
                                        <asp:Label ID="lblMessage" runat="server"></asp:Label>
                                    </div>
                                    
                                </div>
                            </asp:View>
                        </asp:MultiView>
                    </div>
                </div>
            </div>
        </div>
    </form>
</asp:Content>
